﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DIS_Client.Helpers
{
    #region Using
    using DIS_Client.DIS_BUS_WS;
    using System.ServiceModel;
    #endregion

    public class BusService
    {
        private static IDIS_BUS_Service _svc = null;

        static BusService()
        {
            _svc = new ChannelFactory<IDIS_BUS_Service>("BasicHttpBinding_IDIS_BUS_Service").CreateChannel();
        }

        public static IDIS_BUS_Service Instance
        {
            get { return _svc; }
        }
    }
}
